package com.example.badyloans.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
    * 系统数据字典取值表
    */
@ApiModel(value="com-example-badyloans-pojo-TSystemDictionaryItem")
public class TSystemDictionaryItem implements Serializable {
    /**
    * 字典项id
    */
    @ApiModelProperty(value="字典项id")
    private Integer id;

    /**
    * 父id
    */
    @ApiModelProperty(value="父id")
    private Integer parentId;

    /**
    * 字典项值
    */
    @ApiModelProperty(value="字典项值")
    private String value;

    /**
    * 排序号(正序)
    */
    @ApiModelProperty(value="排序号(正序)")
    private Integer orderNo;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", value=").append(value);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}